package com.hmh.student.system.mapper;

import com.hmh.student.system.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xyf
 * @since 2025-04-09
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {

   /* @Insert("INSERT INTO sys_user_role(user_id, role_id) VALUES (#{userId}, #{roleId})")
    void assignRoleToUser(@Param("userId") Integer userId, @Param("roleId") Integer roleId);
*/


}
